/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.comac.ins.isfd.domain.IsfdDatabaseModelConfig;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 数据库建模配置视图对象 isfd_database_model_config
 *
 * @author lj
 * @date 2025-01-16
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdDatabaseModelConfig.class)
public class IsfdDatabaseModelConfigTableVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 模型id
     */
    private Long id;

    /**
     * 表格深度
     */
    private Integer depth;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 父表名
     */
    private String parentTableName;

    /**
     * 父字段名
     */
    private String parentFieldName;

    /**
     * 模型名称
     */
    private String modelName;

    /**
     * 字段集合
     */
    private List<IsfdDatabaseModelConfigFieldVo> fieldVoList;

    /***
     * 展现方式
     */
    private String showType;
}
